<!DOCTYPE html>
<html>

	<head>
		<meta charset="utf-8" />
		<meta http-equiv="X-UA-Compatible" content="IE=Edge">
		<title>{$pageData.title}</title>
		<link rel="stylesheet" href="__STATIC__/home/js/layui/css/layui.css" />
		<link rel="stylesheet" href="__STATIC__/home/css/admin.css" />
		<script type="text/javascript" src="__STATIC__/home/js/jquery.min.js"></script>
		<script type="text/javascript" src="__STATIC__/home/js/layui/layui.js"></script>
	</head>

	<body class="pd30" data-id="orderIndex">
		<div class="center-nav f20">{$pageData.title}</div>
		<div class="center-search b-w">
			<form class="layui-form" method="get" action="">
				<ul class="form-cen clearfix">
					<li>
						<div class="layui-form-item">
							<label class="layui-form-label">开始时间</label>
							<div class="layui-input-block">
								<input type="text" name="start" lay-verify="title" autocomplete="off" placeholder="请输入开始时间" class="layui-input" id="start">
							</div>
						</div>
					</li>
					<li>
						<div class="layui-form-item">
							<label class="layui-form-label">结束时间</label>
							<div class="layui-input-block">
								<input type="text" name="end" lay-verify="title" autocomplete="off" placeholder="请输入结束时间" class="layui-input" id="end">
							</div>
						</div>
					</li>
					<li>
						<div class="form-input"><input class="layui-btn" type="button" data-type="reload" value="查询" id="orderIndexBnt"></div>
					</li>
				</ul>
			</form>
		</div>
		<div class="center-tab b-w">
	    	<table class="layui-hide" id="Table" lay-filter="TableUser"></table> 
			<!--<div class="order-list">
				<ul>
					<li class="b-w">
						<div class="order-list-top"><span>2018-03-25 11:11:11</span><span>订单号：<span class="f-black">1321321321</span></span>
						</div>
						<div class="order-list-bot clearfix">
							<table cellpadding="0" cellspacing="0">
								<tbody>
									<tr>
										<td class="sp" width="50%">
											<ol>
												<li class="clearfix">
													<span class="tu"><img src="__STATIC__/home/images/cp01.png"></span>
													<span class="bt f-black">电视机</span>
													<span class="bt">￥5000.00</span>
													<span class="bt">奖金币</span>
													<span class="sl">1</span>
												</li>
												<li class="clearfix">
													<span class="tu"><img src="__STATIC__/home/images/cp01.png"></span>
													<span class="bt f-black">电视机</span>
													<span class="bt">￥5000.00</span>
													<span class="bt">奖金币</span>
													<span class="sl">1</span>
												</li>
												<li class="clearfix">
													<span class="tu"><img src="__STATIC__/home/images/cp01.png"></span>
													<span class="bt f-black">电视机</span>
													<span class="bt">￥5000.00</span>
													<span class="bt">奖金币</span>
													<span class="sl">1</span>
												</li>
											</ol>
										</td>
										<td class="shr" width="15%">admin</td>
										<td class="je" width="20%">总金额：<span class="f26 f-orange">￥5000.00</span></td>
										<td class="zt" width="15%">订单详情</td>
									</tr>
								</tbody>
							</table>

						</div>
					</li>
					<li class="b-w">
						<div class="order-list-top"><span>2018-03-25 11:11:11</span><span>订单号：<span class="f-black">1321321321</span></span>
						</div>
						<div class="order-list-bot clearfix">
							<table cellpadding="0" cellspacing="0">
								<tbody>
									<tr>
										<td class="sp" width="50%">
											<ol>
												<li class="clearfix">
													<span class="tu"><img src="__STATIC__/home/images/cp01.png"></span>
													<span class="bt f-black">电视机</span>
													<span class="bt">￥5000.00</span>
													<span class="bt">奖金币</span>
													<span class="sl">1</span>
												</li>
												<li class="clearfix">
													<span class="tu"><img src="__STATIC__/home/images/cp01.png"></span>
													<span class="bt f-black">电视机</span>
													<span class="bt">￥5000.00</span>
													<span class="bt">奖金币</span>
													<span class="sl">1</span>
												</li>
												<li class="clearfix">
													<span class="tu"><img src="__STATIC__/home/images/cp01.png"></span>
													<span class="bt f-black">电视机</span>
													<span class="bt">￥5000.00</span>
													<span class="bt">奖金币</span>
													<span class="sl">1</span>
												</li>
											</ol>
										</td>
										<td class="shr" width="15%">admin</td>
										<td class="je" width="20%">总金额：<span class="f26 f-orange">￥5000.00</span></td>
										<td class="zt" width="15%">订单详情</td>
									</tr>
								</tbody>
							</table>

						</div>
					</li>
					<li class="b-w">
						<div class="order-list-top"><span>2018-03-25 11:11:11</span><span>订单号：<span class="f-black">1321321321</span></span>
						</div>
						<div class="order-list-bot clearfix">
							<table cellpadding="0" cellspacing="0">
								<tbody>
									<tr>
										<td class="sp" width="50%">
											<ol>
												<li class="clearfix">
													<span class="tu"><img src="__STATIC__/home/images/cp01.png"></span>
													<span class="bt f-black">电视机</span>
													<span class="bt">￥5000.00</span>
													<span class="bt">奖金币</span>
													<span class="sl">1</span>
												</li>
												<li class="clearfix">
													<span class="tu"><img src="__STATIC__/home/images/cp01.png"></span>
													<span class="bt f-black">电视机</span>
													<span class="bt">￥5000.00</span>
													<span class="bt">奖金币</span>
													<span class="sl">1</span>
												</li>
												<li class="clearfix">
													<span class="tu"><img src="__STATIC__/home/images/cp01.png"></span>
													<span class="bt f-black">电视机</span>
													<span class="bt">￥5000.00</span>
													<span class="bt">奖金币</span>
													<span class="sl">1</span>
												</li>
											</ol>
										</td>
										<td class="shr" width="15%">admin</td>
										<td class="je" width="20%">总金额：<span class="f26 f-orange">￥5000.00</span></td>
										<td class="zt" width="15%">订单详情</td>
									</tr>
								</tbody>
							</table>

						</div>
					</li>
					<li class="b-w">
						<div class="order-list-top"><span>2018-03-25 11:11:11</span><span>订单号：<span class="f-black">1321321321</span></span>
						</div>
						<div class="order-list-bot clearfix">
							<table cellpadding="0" cellspacing="0">
								<tbody>
									<tr>
										<td class="sp" width="50%">
											<ol>
												<li class="clearfix">
													<span class="tu"><img src="__STATIC__/home/images/cp01.png"></span>
													<span class="bt f-black">电视机</span>
													<span class="bt">￥5000.00</span>
													<span class="bt">奖金币</span>
													<span class="sl">1</span>
												</li>
												<li class="clearfix">
													<span class="tu"><img src="__STATIC__/home/images/cp01.png"></span>
													<span class="bt f-black">电视机</span>
													<span class="bt">￥5000.00</span>
													<span class="bt">奖金币</span>
													<span class="sl">1</span>
												</li>
												<li class="clearfix">
													<span class="tu"><img src="__STATIC__/home/images/cp01.png"></span>
													<span class="bt f-black">电视机</span>
													<span class="bt">￥5000.00</span>
													<span class="bt">奖金币</span>
													<span class="sl">1</span>
												</li>
											</ol>
										</td>
										<td class="shr" width="15%">admin</td>
										<td class="je" width="20%">总金额：<span class="f26 f-orange">￥5000.00</span></td>
										<td class="zt" width="15%">订单详情</td>
									</tr>
								</tbody>
							</table>

						</div>
					</li>
				</ul>

			</div>
			<div class="paging"></div>-->
		</div>
		<!--<script type="text/javascript">
$(function(){
	getDatas();
});

function getDatas(){
	$.ajax({
		'type':'post',
		'dataType':'json',
		'data':'',
		'url':"{:url('order.api/order')}",
		'success':function(data){
			var html = '';
			$.each(data.data,function(index,value){
				html += '<tr>'+'<td>订单号:'+value.order_id+'<td>总计:'+value.amount+'<td>创建时间:'+value.create_time+'</td></tr>';
				$.each(value.goods,function(value,val){
					html += '<tr>'+'<td><a href="{:url('order.show/details')}?order_id='+val.order_id+'"><div><img src="'+val.photo+'"/></div></a></td>'
	                    +'<td><div>'+val.title+'</div></td>'
                        +'<td><div>数量'+val.number+'</div></td>'
	                    +'<td><div>'+val.price+'/'+val.coin_name+'</div></td>'
                        +'<td><div>共计'+val.amount+'</div></td>'+'</tr>';
			    });
			});
			$(".table-cen tbody").html(html);
			$(".paging").html(data.page_html)
		}
	})
}
</script>-->

     <script>
     	
     	//我的订单列表
     	var orderSrc="{:url('order.api/order')}";
     </script>
     <script type="text/javascript" src="__STATIC__/home/js/public.js"></script>
	</body>

</html>